//
// Created by jsjxsy on 2022/8/17.
//
#include <stdlib.h>
#include <stdio.h>
int main(void) {
  const char *const str = "1.1 200.4 100000.2 this is float number";
  char *start = str;
  char *end;

  while (1) {
    float result = strtof(start, &end);
    if (start == end) {
      break;
    }
    printf("'%.*s'\t ==> %f\n", (int) (end - start), start, result);
    start = end;
  }

  return 0;
}